package com.subsequent.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.subsequent.pojo.Departments;
import java.util.Date;
import java.util.List;

public interface DepartmentsService extends IService<Departments> {
    Page<Departments> pageQuery(
            int pageNum,
            int pageSize,
            Integer campusId,
            Integer categoryId,
            String deptName,
            Integer status,
            Date startTime,
            Date endTime
    );
    List<Departments> tree(
            Integer campusId,
            Integer categoryId,
            Integer status,
            Date startTime,
            Date endTime
    );;
}